package com.auxgroup.hr.front.dao.domain;

/**
 * Created by nitongqian on 2019/3/3.
 */

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 销假明细
 * Created by nitongqian on 2019/3/2.
 */
@Entity
@Table(name = "PS_C_WF_CLEA_DTL")
@NamedQuery(name = "PsCWfCleaDtl.findAll", query = "SELECT p FROM PsCWfCleaDtl p")
@IdClass(PsCWfCleaDtlPrimary.class)
public class PsCWfCleaDtl implements Serializable {

    //审批编号
    @Id
    @Column(name = "C_TRANSACTION_NBR")
    private String cTransactionNbr;
    //原请假流程
    @Id
    @Column(name = "C_TRANSACTION_NUM")
    private String cTransactionNum;
    //流程主题
    @Column(name = "C_WF_TITLE")
    private String cWfTitle;
    //请假类型
    @Column(name = "C_LEAVE_TYPE")
    private String cLeaveType;
    //请假天数共计
    @Column(name = "C_LEAVE_DAYS")
    private BigDecimal cLeaveDays;
    @Column(name = "C_SECCESS_FLAG")
    private String cSeccessFlag;
    //开始日期
    @Column(name = "START_DATE")
    @Temporal(TemporalType.DATE)
    private Date startDate;
    //结束日期
    @Column(name = "END_DATE")
    @Temporal(TemporalType.DATE)
    private Date endDate;


    public String getcTransactionNbr() {
        return cTransactionNbr;
    }

    public void setcTransactionNbr(String cTransactionNbr) {
        this.cTransactionNbr = cTransactionNbr;
    }

    public String getcTransactionNum() {
        return cTransactionNum;
    }

    public void setcTransactionNum(String cTransactionNum) {
        this.cTransactionNum = cTransactionNum;
    }

    public String getcWfTitle() {
        return cWfTitle;
    }

    public void setcWfTitle(String cWfTitle) {
        this.cWfTitle = cWfTitle;
    }

    public String getcLeaveType() {
        return cLeaveType;
    }

    public void setcLeaveType(String cLeaveType) {
        this.cLeaveType = cLeaveType;
    }

    public BigDecimal getcLeaveDays() {
        return cLeaveDays;
    }

    public void setcLeaveDays(BigDecimal cLeaveDays) {
        this.cLeaveDays = cLeaveDays;
    }

    public String getcSeccessFlag() {
        return cSeccessFlag;
    }

    public void setcSeccessFlag(String cSeccessFlag) {
        this.cSeccessFlag = cSeccessFlag;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
